body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  text-align: center;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 80%;
  max-width: 1000px;
  height: 700px; /* Change this from 600px to auto */
  display: flex; /* Add flex to center contents */
  flex-direction: column; /* Stack children vertically */
  justify-content: center; /* Center vertically */
  position: relative;
}

h1 {
  margin-bottom: 100px;
  color: #333;
}

.agent-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1px;
}

.agent-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 160px;
  padding: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.agent-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.agent-card img {
  border-radius: 15px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 10px;
}

.agent-card h3 {
  font-size: 1em;
  color: #333;
}

.selected-agent {
  margin-top: 20px;
  font-size: 1.2em;
  color: #777;
}

.selected-agent span {
  color: #007bff;
  font-weight: bold;
}

/* Confirm button style */
.confirm-button {
  background-color: #007bff;
  width: 150px;
  height: 50px;
  font-size:larger;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.confirm-button:hover {
  background-color: #0056b3;
}

.bx {

  background-color: hsl(0, 0%, 100%);
  font-size: large;
  color: #0b0b0b;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 20px;
  margin-left: 10px;
  top: 20px;
  left: 20px;
  position: absolute;
}

.bx:hover {
  background-color: grey;
}
